import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld';
import Home from "@/pages/Home"
import Login from '@/pages/Login'
import Regist from '@/pages/Regist'
import Recommend from "@/pages/Recommend"
import NewLine from "@/pages/NewLine"
import SpecialTrip from "@/pages/SpecialTrip"
import Search from "@/pages/Search.vue"


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/login/abc',
      component: Login
    },
    {
      path: '/regist',
      component: Regist
    },
    {
      path:"/recommend/abc",
      component:Recommend
    },
    {
      path:"/newLine/abc",
      component:NewLine
    },
    {
      path:"/specialTrip/abc",
      component:SpecialTrip
    },
     {
      path:"/search",
      component:Search
    }
   
  ]
})
